From: emellor@ewan Date: Wed, 28 Sep 2005 14:00:11 +0000 (+0100) Subject: Fix returning of results broken by last change. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16769^2~16^2~18 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a348233185d2673cdad8d6748829d1495899efd8;p=xen.git Fix returning of results broken by last change. Signed-off-by: Ewan Mellor --- diff --git a/tools/python/xen/web/SrvBase.py b/tools/python/xen/web/SrvBase.py index e0b528fcc0..11b1d48f24 100644 --- a/tools/python/xen/web/SrvBase.py +++ b/tools/python/xen/web/SrvBase.py @@ -82,7 +82,7 @@ class SrvBase(resource.Resource): return '' else: try: - res = op_method(op, req) + return op_method(op, req) except Exception, exn: log.exception("Request %s failed.", op) if req.useSxp():